package com.xiangxiao.rpan.storage.download.utilsCopy;

import com.xiangxiao.rpan.storage.core.DownloadFileTool;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * @auther xiangxiao
 * @email 573768011@qq.com
 * @data 2023/12/1 17:41
 */
@Component(value = "downloadFileUtilsCopy")
public class DownloadFileUtilsCopy implements DownloadFileTool {
  @Override
  public void readStreamToFile(String path, HttpServletResponse response) {

  }

  @Override
  public String convertMuitlFileToStream(MultipartFile multipartFile, Integer chunkNumber, Integer totalChunks, long blockSize) {
    // todo
    return null;
  }
}
